package com.zj.sy.service;

import java.math.BigDecimal;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

/**
 * @description:
 * @author: Carver Zhang
 * @create: 2021-08-11 21:29
 **/
public interface CommService {

    Map<String, Integer> getYBSS(String pos);

    BigDecimal getCityArea(String pos);

    Map<Object, Object> getGridTeam(String pos);

    Map<Object, Object> getGridNum(String pos);

    List<Map<String, Object>> getGriderRank(String pos, String year, String month, int sort);

    Map<String, Integer> getDealEventNums(String pos);

    List<Map<String, Object>> getRecentEvent(String pos);

    Map<String, Integer> getThisMonthEventCounts(String pos);

    Map<String, List<Map<String, Object>>> getThisYearEventCounts(String pos);

    Map<String, Object> getGridCounts(String pos);

    Map<String, Object> getAllPopulation(String pos);

    Map<String, Object> getPermanentPopulation(String pos);

    Map<String, Object> getGridTeam2(String pos);

    Map<String, Map<String, Object>> getDisputeNums(String pos);

    List<Map<String, Object>> getZMWGY(String pos);

    Map<String, LinkedHashMap<String, Object>> getPointsRanking(String pos);

    Map<String, Map<String, Object>> getFocus(String pos);

    List<Map<String, Object>> getRecentEvent2(String pos, String type, String wgbm, String state);

    List<Map<String, Object>> getRecentEvent3(String pos, String type, String wgbm, String state);
    
    List<Map<String, Object>> getOneToFiveEvent(String pos, String wgbm);
    
    List<Map<String, Object>> getOneToFiveEventDo(String busiNumber);

    List<Map<String, List<List<Map<String, Object>>>>> getFloatingPopulation(String pos);

    List<Map<String, Object>> getHomicideCase(String pos, Integer year);

    Map<String, Map<Object, Map<String, Object>>> getAssessmentRankings(String pos);

    List<Map<String, Object>> getBuilding(String pos);

    List<Map<String, Object>> getUnit(String pos);

    List<Map<String, Object>> getTownsRank(String pos, Boolean desc, Integer year, Integer month, Integer limit);
}
